package com.demo.listener;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

public class MyListener implements ServletContextListener{
	@Override
	public void contextInitialized(ServletContextEvent event) {
		System.out.println("容器启动");
	}

	@Override
	public void contextDestroyed(ServletContextEvent event) {
		System.out.println("容器销毁");
	}

}
